from google.appengine.ext import db

class SyslogEntry(db.Model):
    date = db.DateTimeProperty(auto_now_add=True)
    content = db.TextProperty(indexed=False)
    
class LogEntry(db.Model):
    date = db.DateTimeProperty(auto_now_add=True)
    content = db.TextProperty(indexed=False)
    hostname = db.StringProperty()
    username = db.StringProperty()
    show_username = db.StringProperty()
    show_hostname = db.StringProperty()
    user = db.UserProperty()
